package com.zqf.shiro.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

/**
 * @author zqf
 * @date 12/22/2017
 */
@Getter
@Setter
@ToString
public class LoginUser implements Serializable {
    private Long id;
    private String username;
    private String name;
    private Set<String> roles;
    private String jti;
    /**
     * 登录时间
     */
    private Long loginTime;

    /**
     * 过期时间
     */
    private Long expireTime;
}
